import random

count = 0
amount_shorts = int(input())
for i in range(amount_shorts):
    x = random.randint(-100, 100)
    y = random.randint(-100, 100)
    if (-7 <= x <= 5) and (-8 <= y <= 5):
        count += 1
print(f"Количество выстрелов: {amount_shorts}")
print(f"Количество выстрелов: {count}")
